package com.cc.service.impl;

import com.cc.service.ExceptionService;
import org.springframework.stereotype.Service;

/**
 * @author Chen Chao
 * @date 2020/7/13 17:37
 */
@Service
public class ExceptionServiceImpl implements ExceptionService {
    @Override
    public boolean serviceTest() {
        System.out.println("业务层中空指针！！！！");
        String str=null;
        str.equals("111");
        return false;
    }

    @Override
    public boolean serviceTest2() {
        Integer.parseInt("abc123");
        return false;
    }
}
